package com.ks.comment.dao;

import com.ks.comment.controller.dto.AgreeResponse;
import com.ks.comment.controller.dto.JournalResponse;
import com.ks.comment.entity.ZpzAgree;
import com.baomidou.mybatisplus.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 表结构公共字段 Mapper 接口
 * </p>
 *
 * @author kingdee123
 * @since 2020-12-18
 */
public interface ZpzAgreeMapper extends BaseMapper<ZpzAgree> {

    List<AgreeResponse> getAgreeList(int informationId, String type, int pageNo, int pageSize);

    int getAgreeCount(int informationId, String type);

}
